package com.yan.community.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.yan.community.model.ClubCommunityDept;
import com.yan.community.model.ClubCommunityDeptExample;

/**
 * @author 彦
 * @since 2024/1/15 16:06
 */
@Mapper
public interface ClubCommunityDeptMapper {
    long countByExample(ClubCommunityDeptExample example);

    int deleteByExample(ClubCommunityDeptExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ClubCommunityDept record);

    int insertOrUpdate(ClubCommunityDept record);

    int insertOrUpdateSelective(ClubCommunityDept record);

    int insertSelective(ClubCommunityDept record);

    List<ClubCommunityDept> selectByExample(ClubCommunityDeptExample example);

    ClubCommunityDept selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ClubCommunityDept record, @Param("example") ClubCommunityDeptExample example);

    int updateByExample(@Param("record") ClubCommunityDept record, @Param("example") ClubCommunityDeptExample example);

    int updateByPrimaryKeySelective(ClubCommunityDept record);

    int updateByPrimaryKey(ClubCommunityDept record);

    int updateBatch(List<ClubCommunityDept> list);

    int updateBatchSelective(List<ClubCommunityDept> list);

    int batchInsert(@Param("list") List<ClubCommunityDept> list);
}